package hs.bank.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;

@Data
@AllArgsConstructor
public class User_Role {
    @NonNull
    private int id;

    @NonNull
    private int userId;

    @NonNull
    private int roleId;

    public User_Role(int userId, int roleId) {
        this.roleId = roleId;
        this.userId = userId;
    }
}
